﻿import com.mixmedia.mx.Event;
import com.mixmedia.net.ILoadStrategy;

/**
 * @author Colin
 */
class com.mixmedia.mx.events.LoaderEvent extends Event{
	public static var EVENTOPEN:String = Event.OPEN;
	public static var EVENTREADY:String = Event.READY;
	public static var EVENTPROGRESS:String = Event.PROGRESS;
	public static var EVENTCOMPLETE:String = Event.COMPLETE;
	public static var EVENTERROR:String = Event.ERROR;

	public var errorString:String;
	public var targetObj:Object;

	public function LoaderEvent(target : ILoadStrategy, type:String,targetObj,errorString:String){
		super(target, type,{targetObj:targetObj,errorString:errorString});
	}
}